package com.neusoft.yuejian_01.activity.MJJ;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;

import com.neusoft.yuejian_01.R;

public class AccessActivity extends Activity {
	private Button access;
	private SharedPreferences sp=null;
	@SuppressLint("NewApi")
	@Override
//启动页，进入登录页面
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);//隐藏标题栏
		setContentView(R.layout.access);
		access = (Button)this.findViewById(R.id.access);
		access.setOnClickListener(new OnClickListener() {
			
			public void onClick(View v) {
				Intent intent = null;
				intent = new Intent(AccessActivity.this,LoginActivity.class);
			    startActivity(intent);
			    overridePendingTransition(android.R.anim.fade_in,android.R.anim.fade_out);
			    AccessActivity.this.finish();
			}
		});
	}
}
